package com.qf.dao;

import com.qf.pojo.Page;
import com.qf.pojo.Student;

import java.util.List;

/**
 * @date 2022/3/26
 * @desc
 */
public interface StudentDao {


    List<Student> findStudents();

    int deleteStudentById(int id);

    int addStudent(Student student);

    Student findStudentById(int id);

    int updateStudentById(Student student);

    List<Student> getPageDate(Page page);

    int getTotalRecored();

    List<Student> getPageDataByCondition(Page page, Student student);

    int getTotalRecoreByCondition(Student student);

}
